package com.csj.DesignPattern.factory.abstractFactory;


//抽象工厂，可以理解为一整个套餐，每次按照套餐更换
public class Client {
    public static void main(String[] args) {
        ItalyDessertFactory factory = new ItalyDessertFactory();
        Coffee coffee = factory.createCoffee();
        Dessert dessert = factory.createDessert();
        System.out.println(coffee.getName());
        dessert.show();
    }
}
